﻿using AutoMapper;
using BCDto.TMS.Driver.DriverLearnDatum;
using BCEntity.TMS.Driver.DriverLearnDatum;

namespace BCService.MapperProfiles.TMS.Driver
{
    public class DriverLearnDatumProfile : Profile
    {
        public DriverLearnDatumProfile()
        {
            CreateMap<DriverLearnDatumEntity, DriverLearnDatumDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<DriverLearnDatumDto, DriverLearnDatumEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<DriverLearnDatumRequestDto, DriverLearnDatumEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<DriverLearnDatumAnswerEntity, DriverLearnDatumAnswerDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<DriverLearnDatumAnswerDto, DriverLearnDatumAnswerEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<DriverLearnDatumAnswerRequestDto, DriverLearnDatumAnswerEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
